package com.ruoyi.canteen.domain.dto;

/**
 * @author: 杨祥
 * @date: 2025/05/09/14:24
 * @description:
 */
public class UserPostDto {
    private Long postId;
    private String postName;

    public UserPostDto() {
    }

    public UserPostDto(Long postId, String postName) {
        this.postId = postId;
        this.postName = postName;
    }

    public String getpostName() {
        return postName;
    }

    public void setpostName(String postName) {
        this.postName = postName;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }
    @Override
    public String toString() {
        return "UserPostDto{" +
                "postId=" + postId +
                ", postName=" + postName +
                '}';
    }
}
